package cn.com.shopec.erp.purchase.vo;

import java.util.List;

import cn.com.shopec.erp.purchase.entity.PoProduct;

/** 
 * @ClassName: PurchaseOrderVo 
 * @Description: 采购单vo
 * @author: lule
 * @date 2013-5-22 下午2:02:57
 *  
 */
public class PurchaseOrderVo {
	/** id **/
	private String id;
	/** 采购单号 **/
	private String poNo;
	/** 请购单号 **/
//	private String prNo;
	/** 预计采购日期 **/
	private String foPurDate;
	/** 采购员用户 **/
	private String createPerson;
	/** 创建人姓名**/
	private String createPersonName;
	/** 删除标识 **/
	private Integer deleteFlag;
	/** 实际采购日期 **/
	private String acPurDate;
	/** 采购单状态 （0待审核1.已审核2.采购中,3.入库中,4.采购完成）**/
	private Integer poStatus;
	/**采购类型**/
	private int purcType;
	/**采购单名称**/
	private String poName;
	/** 到货日期 **/
	private String prArriveDate;
	/** 创建时间 **/
	private String createTime;
	/** 修改时间 **/
	private String prCreaterDate;
	/** 最近审核人 **/
	private String lastAuditPerson;
	/** 最近审核时间 **/
	private String lastAuditTime;
	/** PO关联的货品实体 **/
	private List<PoProduct> poProducts; 
	/** 当前审核点 (1：待采购主管处理、2：待采购总监及运营主管处理、3：待财务负责人处理、4：待总经理处理、99：已完成) **/
	private Integer curAuditPoint;
	/** 审核人身份。采购主管(PURCHASE_SUPERVISOR)、采购总监(PURCHASE_DIRECTOR)、运营主管(OPERATION_SUPERVISOR)、财务负责人(FINANCIAL_PRINCIPAL)、总经理(GENERAL_MANAGER) **/
	private String lastAuditRole;
	/** 审核状态( 0审核不通过，1审核通过)**/
	private int auditResult;
	/** 审核意见**/
	private String remark;
	/**审核时间**/
	private String auditTime;
	/**供应商编号**/
	private String supCode;
	/**供应商名称**/
	private String supName;
	/**订单结算时间 （请购单中的到货时间）**/
	private String overData;
	/**退货数量**/
	private int returnQuantity;
	/**描述**/
	private String prDescribe;
	/**成本价**/
	private String ppUnitPrice;
	/**采购数量**/
	private int ppNumber;
	/**最低采购数量**/
	private Integer buyNum;
	/**总价**/
	private Double totalPrice;
	
	private List<PurchaseRequisitionProductVo> prpvlist;
	
	public PurchaseOrderVo(){
		super();
	}
	
	public PurchaseOrderVo(String id, String poNo, String foPurDate, String createPerson, String createPersonName,
			Integer deleteFlag, String acPurDate, int poStatus, int purcType, String poName, String prArriveDate,
			String createTime, String prCreaterDate, String lastAuditPerson, String lastAuditTime,
			List<PoProduct> poProducts, Integer curAuditPoint, String lastAuditRole, int auditResult, String remark,
			String auditTime, String supCode, String supName, String overData, int returnQuantity, String prDescribe,
			String ppUnitPrice, int ppNumber, Double totalPrice, List<PurchaseRequisitionProductVo> prpvlist,Integer buyNum) {
		super();
		this.id = id;
		this.poNo = poNo;
		this.foPurDate = foPurDate;
		this.createPerson = createPerson;
		this.createPersonName = createPersonName;
		this.deleteFlag = deleteFlag;
		this.acPurDate = acPurDate;
		this.poStatus = poStatus;
		this.purcType = purcType;
		this.poName = poName;
		this.prArriveDate = prArriveDate;
		this.createTime = createTime;
		this.prCreaterDate = prCreaterDate;
		this.lastAuditPerson = lastAuditPerson;
		this.lastAuditTime = lastAuditTime;
		this.poProducts = poProducts;
		this.curAuditPoint = curAuditPoint;
		this.lastAuditRole = lastAuditRole;
		this.auditResult = auditResult;
		this.remark = remark;
		this.auditTime = auditTime;
		this.supCode = supCode;
		this.supName = supName;
		this.overData = overData;
		this.returnQuantity = returnQuantity;
		this.prDescribe = prDescribe;
		this.ppUnitPrice = ppUnitPrice;
		this.ppNumber = ppNumber;
		this.totalPrice = totalPrice;
		this.prpvlist = prpvlist;
		this.buyNum = buyNum;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPoNo() {
		return poNo;
	}
	public void setPoNo(String poNo) {
		this.poNo = poNo;
	}
	public String getFoPurDate() {
		return foPurDate;
	}
	public void setFoPurDate(String foPurDate) {
		this.foPurDate = foPurDate;
	}
	public String getCreatePerson() {
		return createPerson;
	}
	public void setCreatePerson(String createPerson) {
		this.createPerson = createPerson;
	}
	public String getCreatePersonName() {
		return createPersonName;
	}
	public void setCreatePersonName(String createPersonName) {
		this.createPersonName = createPersonName;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getAcPurDate() {
		return acPurDate;
	}
	public void setAcPurDate(String acPurDate) {
		this.acPurDate = acPurDate;
	}
	public Integer getPoStatus() {
		return poStatus;
	}
	public void setPoStatus(Integer poStatus) {
		this.poStatus = poStatus;
	}
	public int getPurcType() {
		return purcType;
	}
	public void setPurcType(int purcType) {
		this.purcType = purcType;
	}
	public String getPoName() {
		return poName;
	}
	public void setPoName(String poName) {
		this.poName = poName;
	}
	public String getPrArriveDate() {
		return prArriveDate;
	}
	public void setPrArriveDate(String prArriveDate) {
		this.prArriveDate = prArriveDate;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getPrCreaterDate() {
		return prCreaterDate;
	}
	public void setPrCreaterDate(String prCreaterDate) {
		this.prCreaterDate = prCreaterDate;
	}
	public String getLastAuditPerson() {
		return lastAuditPerson;
	}
	public void setLastAuditPerson(String lastAuditPerson) {
		this.lastAuditPerson = lastAuditPerson;
	}
	public String getLastAuditTime() {
		return lastAuditTime;
	}
	public void setLastAuditTime(String lastAuditTime) {
		this.lastAuditTime = lastAuditTime;
	}
	public List<PoProduct> getPoProducts() {
		return poProducts;
	}
	public void setPoProducts(List<PoProduct> poProducts) {
		this.poProducts = poProducts;
	}
	public Integer getCurAuditPoint() {
		return curAuditPoint;
	}
	public void setCurAuditPoint(Integer curAuditPoint) {
		this.curAuditPoint = curAuditPoint;
	}
	public String getLastAuditRole() {
		return lastAuditRole;
	}
	public void setLastAuditRole(String lastAuditRole) {
		this.lastAuditRole = lastAuditRole;
	}
	public int getAuditResult() {
		return auditResult;
	}
	public void setAuditResult(int auditResult) {
		this.auditResult = auditResult;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getAuditTime() {
		return auditTime;
	}
	public void setAuditTime(String auditTime) {
		this.auditTime = auditTime;
	}
	public String getSupCode() {
		return supCode;
	}
	public void setSupCode(String supCode) {
		this.supCode = supCode;
	}
	public String getSupName() {
		return supName;
	}
	public void setSupName(String supName) {
		this.supName = supName;
	}
	public String getOverData() {
		return overData;
	}
	public void setOverData(String overData) {
		this.overData = overData;
	}
	public String getPrDescribe() {
		return prDescribe;
	}
	public void setPrDescribe(String prDescribe) {
		this.prDescribe = prDescribe;
	}
	public List<PurchaseRequisitionProductVo> getPrpvlist() {
		return prpvlist;
	}
	public void setPrplist(List<PurchaseRequisitionProductVo> prpvlist) {
		this.prpvlist = prpvlist;
	}
	public int getReturnQuantity() {
		return returnQuantity;
	}
	public void setReturnQuantity(int returnQuantity) {
		this.returnQuantity = returnQuantity;
	}
	public String getPpUnitPrice() {
		return ppUnitPrice;
	}
	public void setPpUnitPrice(String ppUnitPrice) {
		this.ppUnitPrice = ppUnitPrice;
	}
	public int getPpNumber() {
		return ppNumber;
	}
	public void setPpNumber(int ppNumber) {
		this.ppNumber = ppNumber;
	}
	public Double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Integer getBuyNum() {
		return buyNum;
	}
	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}
}